//
//  SearchTableViewCell.m
//  AStage_shougongke
//
//  Created by 赵磊 on 16/1/29.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "SearchTableViewCell.h"

@implementation SearchTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.label = [[UILabel alloc] init];
        [self.contentView addSubview:_label];
        self.label.backgroundColor = [UIColor yellowColor];
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.layer.frame = CGRectMake(0, 0, self.contentView.frame.size.width, 40);
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
